import {http} from '../utils/http';


// 请求视频标签名
export const getVideotag = (data)=>{
    return http({
        url:'/video/group/list',
        method:'GET',
        data
    })
  }

  // 根据标签id获取视频列表
  export const getVideoListByTag = (data)=>{
    return http({
        url:'/video/group',
        method:'GET',
        data
    })
  }
  // 根据vid获取视频播放地址
 
  export const getVideoAddressByVid = (data)=>{
    return http({
        url:'/video/url',
        method:'GET',
        data
    })
  }
  // 给资源点赞
  export const getResourceLike = (data)=>{
    return http({
        url:'/resource/like',
        method:'GET',
        data
    })
  }
  
